import request from '@/utils/request'
export default{
  //1.生成统计数据
  registerCount(day){
    return request({
      // url: '/eduservice/teacher/pageTeacherCondition/'+current+"/"+limit,
      url: `/edustatistics/sta/registerCount/${day}`,
      method: 'post',
    })
  },
  //2.显示统计数据
  showData(searchObj){
    return request({
      // url: '/eduservice/teacher/pageTeacherCondition/'+current+"/"+limit,
      url: `/edustatistics/sta/showData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
      method: 'get',
    })
  }
}
